package xyz.thoughtset.viewer.common.annotation.show.input;


import xyz.thoughtset.viewer.common.annotation.show.Input;
import xyz.thoughtset.viewer.common.annotation.show.check.RegCheck;

import java.lang.annotation.*;


@Input
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface NestedSelect {
    String name() default "";
    String label() default "";
    String value() default "";

    String source() default "";

    boolean onlyChildren() default true;
    boolean searchable() default false;
    boolean onlyLeaf() default true;
    boolean multiple() default false;

    int sort() default Integer.MIN_VALUE;
    RegCheck[] regs() default {};
    String group() default "";
}
